gtk4.git
6 years agoAdd Constraints/VFL demo
Emmanuele Bassi [Sat, 29 Jun 2019 17:50:55 +0000 (18:50 +0100)]
Add Constraints/VFL demo

Shows how to describe constraints using VFL instead of constructing
objects manually.

6 years agoAllow adding constraints described through VFL
Emmanuele Bassi [Sat, 29 Jun 2019 17:32:56 +0000 (18:32 +0100)]
Allow adding constraints described through VFL

6 years agoAdd VFL parser for constraints
Emmanuele Bassi [Sat, 29 Jun 2019 17:03:42 +0000 (18:03 +0100)]
Add VFL parser for constraints

Constraints can be expressed with a compact syntax, called VFL (visual
format language).

6 years agoRemove GtkConstraintVariable.set_prefix()
Emmanuele Bassi [Sat, 29 Jun 2019 16:21:55 +0000 (17:21 +0100)]
Remove GtkConstraintVariable.set_prefix()

The prefix and name are set at construction time.

6 years agoAdd an interactive constraints demo
Matthias Clasen [Wed, 26 Jun 2019 03:35:10 +0000 (03:35 +0000)]
Add an interactive constraints demo

6 years agoMake the constraints demo more interesting
Matthias Clasen [Wed, 26 Jun 2019 02:35:15 +0000 (02:35 +0000)]
Make the constraints demo more interesting

Add a max size to the buttons, to force the
space to open up.

6 years agoAdd GtkConstraintGuide
Matthias Clasen [Tue, 25 Jun 2019 23:38:32 +0000 (19:38 -0400)]
Add GtkConstraintGuide

This is meant to be a flexible space.

6 years agoUse generic pointers for constraint targets
Emmanuele Bassi [Thu, 27 Jun 2019 17:26:19 +0000 (18:26 +0100)]
Use generic pointers for constraint targets

Since GtkWidget implements GtkConstraintTarget, we can omit the explicit
cast, and validate the type at run time.

6 years agoRedefine constraints with GtkConstraintTarget
Matthias Clasen [Tue, 25 Jun 2019 19:16:02 +0000 (15:16 -0400)]
Redefine constraints with GtkConstraintTarget

This is in preparation for allowing non-widgets
to act as constraint targets.

6 years agowidget: Implement GtkConstraintTarget
Matthias Clasen [Tue, 25 Jun 2019 19:05:29 +0000 (19:05 +0000)]
widget: Implement GtkConstraintTarget

6 years agoAdd GtkConstraintTarget
Matthias Clasen [Tue, 25 Jun 2019 19:04:05 +0000 (15:04 -0400)]
Add GtkConstraintTarget

This is an marker interface that we will
use to accept other things that widgets
in constraints.

6 years agoNotify a layout change when adding and removing constraints
Emmanuele Bassi [Thu, 27 Jun 2019 16:37:09 +0000 (17:37 +0100)]
Notify a layout change when adding and removing constraints

Changing the set of constraints should cause a relayout.

6 years agoFix the opposite size measurement in GtkConstraintLayout
Emmanuele Bassi [Thu, 27 Jun 2019 16:34:29 +0000 (17:34 +0100)]
Fix the opposite size measurement in GtkConstraintLayout

We cannot use the given "for size" when querying our children, because
the constraint layout has no idea about the opposite size of its
children until the layout is complete.

Additionally, we should only suggest an opposite size for the layout if
we have one, instead of suggesting a weak zero size.

6 years agoRemove size constraints from ConstraintLayoutChild
Emmanuele Bassi [Thu, 27 Jun 2019 16:08:48 +0000 (17:08 +0100)]
Remove size constraints from ConstraintLayoutChild

The size constraints are transient to measurement and allocation, so
they don't really need to be stored inside the GtkLayoutChild subclass
created by a GtkConstraintLayout.

6 years agoconstraints: Make internal consistency required
Matthias Clasen [Wed, 26 Jun 2019 02:30:31 +0000 (02:30 +0000)]
constraints: Make internal consistency required

The relations between left, right, width
and top, bottom, height are required for
internal consistency. It doesn't make sense
to ever drop these.

Changing the strength of these relations makes
my systems behave much more stable.

6 years agoAdd gtk_constraint_layout_remove_constraint
Matthias Clasen [Wed, 26 Jun 2019 03:40:03 +0000 (03:40 +0000)]
Add gtk_constraint_layout_remove_constraint

Otherwise, you can't do many interesting things.

6 years agoDo not release reference on the subject of an expression
Emmanuele Bassi [Thu, 27 Jun 2019 15:42:58 +0000 (16:42 +0100)]
Do not release reference on the subject of an expression

We don't own the reference in the first place.

6 years agoconstraints solver: Avoid critials
Matthias Clasen [Thu, 27 Jun 2019 01:43:47 +0000 (01:43 +0000)]
constraints solver: Avoid critials

When the solver is finalized with existing
constraints, we end up with criticals when
the constraints ref finalize code calls
back into the hash table. Avoid that by
emptying the hash table beforehand.

6 years agoconstraint solver: Fix thawing
Matthias Clasen [Wed, 26 Jun 2019 20:08:08 +0000 (20:08 +0000)]
constraint solver: Fix thawing

There was an obviously wrong precondition here.

6 years agoDo not leak LayoutChild instances
Emmanuele Bassi [Mon, 17 Jun 2019 08:26:39 +0000 (09:26 +0100)]
Do not leak LayoutChild instances

Since the LayoutManager owns the LayoutChild it creates, it's also
responsible for mopping them up.

6 years agoAdd GtkConstraintLayout demo
Emmanuele Bassi [Thu, 13 Jun 2019 18:33:36 +0000 (19:33 +0100)]
Add GtkConstraintLayout demo

6 years agoAdd GtkConstraintLayout
Emmanuele Bassi [Tue, 9 Apr 2019 14:33:52 +0000 (15:33 +0100)]
Add GtkConstraintLayout

A layout manager using GtkConstraintSolver to measure and allocate
children.

6 years agoPropagate rooting and unrooting widgets to layout managers
Emmanuele Bassi [Mon, 10 Jun 2019 13:43:14 +0000 (14:43 +0100)]
Propagate rooting and unrooting widgets to layout managers

Layout managers may need to get access to data attached to the root of a
scene graph.

6 years agowindow: Create a GtkConstraintSolver
Emmanuele Bassi [Tue, 9 Apr 2019 13:22:19 +0000 (14:22 +0100)]
window: Create a GtkConstraintSolver

Implement the GtkRoot getter for GtkConstraintSolver.

6 years agoAssign a GtkConstraintSolver to each GtkRoot
Emmanuele Bassi [Tue, 9 Apr 2019 13:20:54 +0000 (14:20 +0100)]
Assign a GtkConstraintSolver to each GtkRoot

Constraints need to work across different parents, so it's better to
have a single constraint solver per top level.

6 years agoMove the Root interface to a private header
Emmanuele Bassi [Tue, 9 Apr 2019 13:13:37 +0000 (14:13 +0100)]
Move the Root interface to a private header

We don't expect out of tree implementations of GtkRoot, and having the
interface structure private to the GTK code allows us to add virtual
functions involving private types.

6 years agoAdd constraint solver
Emmanuele Bassi [Tue, 9 Apr 2019 13:05:48 +0000 (14:05 +0100)]
Add constraint solver

GtkConstraintSolver is an implementation of the Cassowary constraint
solving algorithm:

  http://constraints.cs.washington.edu/cassowary/

The Cassowary method allows to incrementally solve a tableau of linear
equations, in the form of:

  x = y × coefficient + constant

with different weights, or strengths, applied to each one.

These equations can be used to describe constraints applied to a layout
of UI elements, which allows layout managers using the Cassowary method
to quickly, and efficiently, lay out widgets in complex relations
between themselves and their parent container.

6 years agoFix a crash in action muxer destruction
Matthias Clasen [Sun, 30 Jun 2019 18:35:28 +0000 (18:35 +0000)]
Fix a crash in action muxer destruction

I've seen a crash when the action muxer gets
disposed during widget destroy, and tries to
disconnect from widget signals too late.

There is no real need to disconnect, since the
only time an action muxer is going away is when
its widget is destroyed, so just don't do it.

6 years agotransform: Add transform_bounds fast path for 2D_AFFINE transforms
Timm Bäder [Sat, 29 Jun 2019 07:39:20 +0000 (09:39 +0200)]
transform: Add transform_bounds fast path for 2D_AFFINE transforms

E.g. anything involving a scale. This is important when e.g. scrolling
in the node list in the recorder, which scales every recorded node down
to fit in the list.

6 years agoAdwaita: Fix popover style
Timm Bäder [Sat, 29 Jun 2019 07:06:32 +0000 (09:06 +0200)]
Adwaita: Fix popover style

We add the .background class to the popover node now.

6 years agogl renderer: Fix push/pop modelview behavior
Timm Bäder [Sat, 29 Jun 2019 06:57:27 +0000 (08:57 +0200)]
gl renderer: Fix push/pop modelview behavior

6 years agogl renderer: Remove some dead code
Timm Bäder [Sat, 29 Jun 2019 06:53:36 +0000 (08:53 +0200)]
gl renderer: Remove some dead code

6 years agogl renderer: Don't upload GL textures into the icon cache
Timm Bäder [Sat, 29 Jun 2019 05:13:10 +0000 (07:13 +0200)]
gl renderer: Don't upload GL textures into the icon cache

6 years agotransform: Add skew parsing
Timm Bäder [Sat, 29 Jun 2019 05:12:10 +0000 (07:12 +0200)]
transform: Add skew parsing

6 years agoAdd another grid layout test
Matthias Clasen [Fri, 28 Jun 2019 19:21:21 +0000 (19:21 +0000)]
Add another grid layout test

This one will be used for comparison
with constraint layouts.

6 years agoSome more grid layout tests
Matthias Clasen [Fri, 28 Jun 2019 18:07:23 +0000 (18:07 +0000)]
Some more grid layout tests

Add testcases for spanning children and homogeneity.

6 years agoAdd a test for the grid layout manager
Matthias Clasen [Fri, 28 Jun 2019 13:28:46 +0000 (13:28 +0000)]
Add a test for the grid layout manager

Test some obvious conditions. This is mainly
to test the waters for more intesting tests
with other layout managers later.

6 years agogrid layout: Fix initial property values
Matthias Clasen [Fri, 28 Jun 2019 12:40:25 +0000 (12:40 +0000)]
grid layout: Fix initial property values

Too bad that we don't cover layout children
in the default value test - it would have
caught this.

6 years agoAdwaita: allow flat list row buttons to be flat
Jakub Steiner [Thu, 27 Jun 2019 10:15:51 +0000 (12:15 +0200)]
Adwaita: allow flat list row buttons to be flat

- Be more specific about the list row image buttons

Addresses corner case of https://gitlab.gnome.org/GNOME/gtk/issues/1748

6 years agoAdwaita: lighten dark switch sliders
Jakub Steiner [Thu, 27 Jun 2019 08:55:18 +0000 (10:55 +0200)]
Adwaita: lighten dark switch sliders

- addresses legibility concerns

Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1819

6 years agoAdwaita: Apply border-radius to .csd popovers
Alex Monday [Thu, 27 Jun 2019 08:40:22 +0000 (10:40 +0200)]
Adwaita: Apply border-radius to .csd popovers

Fix popover_radius variable doesn't apply to .csd popover.

Closes https://gitlab.gnome.org/GNOME/gtk/issues/1984

6 years agoAdwaita: Fix padding/rounding on submenus
Alex Monday [Thu, 27 Jun 2019 07:39:20 +0000 (12:39 +0500)]
Adwaita: Fix padding/rounding on submenus

- Apply menubar submenu style for .csd submenus;
- Remove child subemenu style (looks like it is inherited
  from a parent).

Closes https://gitlab.gnome.org/GNOME/gtk/issues/1976

6 years agoAdwaita: darken osd background for A:dark
Jakub Steiner [Thu, 27 Jun 2019 08:27:28 +0000 (10:27 +0200)]
Adwaita: darken osd background for A:dark

- OSD background color was too close to $bg_color to make out outline

Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1964

6 years agoMerge branch 'master' into 'master'
Matthias Clasen [Mon, 24 Jun 2019 19:52:12 +0000 (19:52 +0000)]
Merge branch 'master' into 'master'

Fix a typo

See merge request GNOME/gtk!960

6 years agoFix a typo
Hodong Kim [Mon, 24 Jun 2019 18:42:40 +0000 (18:42 +0000)]
Fix a typo

6 years agoShortcutsSection: Fix tiny grammar-o "in for"→"in"
Daniel Boles [Mon, 24 Jun 2019 17:00:57 +0000 (18:00 +0100)]
ShortcutsSection: Fix tiny grammar-o "in for"→"in"

6 years agoUpdated Danish translation of gtk-properties
Ask Hjorth Larsen [Mon, 24 Jun 2019 16:55:47 +0000 (18:55 +0200)]
Updated Danish translation of gtk-properties

6 years agoUpdated Danish translation of gtk
Ask Hjorth Larsen [Mon, 24 Jun 2019 16:55:25 +0000 (18:55 +0200)]
Updated Danish translation of gtk

6 years agoMerge branch 'no-varargs-activate' into 'master'
Matthias Clasen [Mon, 24 Jun 2019 16:10:03 +0000 (16:10 +0000)]
Merge branch 'no-varargs-activate' into 'master'

Add a non-varargs variant of activate_action

See merge request GNOME/gtk!959

6 years agoAdd a non-varargs variant of activate_action
Matthias Clasen [Mon, 24 Jun 2019 15:44:26 +0000 (11:44 -0400)]
Add a non-varargs variant of activate_action

I recently turned gtk_widget_activate_action()
into a varargs function. That is more convenient
from C, but we need a non-varargs variant for
bindings. So add the old API back, under the
name gtk_widget_activate_action_variant(),
with a rename-to annotation.

6 years agoMerge branch 'issue-1961-master' into 'master'
Emmanuele Bassi [Mon, 24 Jun 2019 15:13:15 +0000 (15:13 +0000)]
Merge branch 'issue-1961-master' into 'master'

Provide GdkMonitor:connector

See merge request GNOME/gtk!954

6 years agoSet the monitor's connector under X11
Emmanuele Bassi [Thu, 20 Jun 2019 15:09:28 +0000 (16:09 +0100)]
Set the monitor's connector under X11

Like we do on Wayland.

In this case, we copy it from the same source as the output name,
because it's going to match.

6 years agoRelay the xdg_output.name to GdkMonitor
Emmanuele Bassi [Thu, 20 Jun 2019 14:55:58 +0000 (15:55 +0100)]
Relay the xdg_output.name to GdkMonitor

The xdg_output v2 interface has a `name` property that reflects the
output name coming from the compositor.

This is the closest thing we can get to a connector name.

6 years agoAdd getter for a monitor connector
Emmanuele Bassi [Thu, 20 Jun 2019 13:52:41 +0000 (14:52 +0100)]
Add getter for a monitor connector

The migration from GdkScreen's monitor API to GdkMonitor left out a way
to get the connector's name of a monitor.

While there's no real guarantee coming from the underlying graphics
system that the connector's name is stable, some system components may
use it to uniquely identify a monitor until the next plug in/out event.

6 years agoMerge branch 'stack-realign' into 'master'
Emmanuele Bassi [Mon, 24 Jun 2019 14:22:18 +0000 (14:22 +0000)]
Merge branch 'stack-realign' into 'master'

build: Do not use add_global_flags()

See merge request GNOME/gtk!958

6 years agobuild: Do not use add_global_flags()
Emmanuele Bassi [Mon, 24 Jun 2019 14:00:21 +0000 (15:00 +0100)]
build: Do not use add_global_flags()

It's almost always not what you want.

6 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 24 Jun 2019 07:59:52 +0000 (09:59 +0200)]
Updated Spanish translation

6 years agoMake gtk_widget_activate_action better
Matthias Clasen [Sun, 23 Jun 2019 22:50:33 +0000 (22:50 +0000)]
Make gtk_widget_activate_action better

As a convenience API, this should be easy to use,
so don't expect callers to manually create a
variant, do it for them.

Update all callers.

6 years agowidget: create parent muxers lazily
Matthias Clasen [Sun, 23 Jun 2019 17:22:02 +0000 (17:22 +0000)]
widget: create parent muxers lazily

We need to create a muxer eagerly for every
widget that has class actions, since those
are otherwise missed in the action lookup
on the muxer side. But otherwise, there is
no reason to create parent muxers aggressively,
as long as we update the parent muxers on
root/unroot.

This reduces the number of muxers we create
in widget-factory from 210 to around 50.

6 years agowindow: Fix the default value of mnemonics-visible
Matthias Clasen [Sun, 23 Jun 2019 14:55:10 +0000 (14:55 +0000)]
window: Fix the default value of mnemonics-visible

They aren't visible, so why should the property
be TRUE?

6 years agoMerge branch '362-gtk-fileopen-dialog-need-filetype-mime-sort-option-2_GTK4' into...
Timm Bäder [Sun, 23 Jun 2019 07:58:26 +0000 (07:58 +0000)]
Merge branch '362-gtk-fileopen-dialog-need-filetype-mime-sort-option-2_GTK4' into 'master'

GtkFileChooser: add a sortable "Type" column

Closes #362

See merge request GNOME/gtk!874

6 years agoAdd includes back to gtk4.types.in
Matthias Clasen [Sun, 23 Jun 2019 00:24:26 +0000 (20:24 -0400)]
Add includes back to gtk4.types.in

Without these, gtkdoc-scangobj doesn't work. Who knew!

6 years agoAdd another action test
Matthias Clasen [Sun, 23 Jun 2019 01:38:27 +0000 (01:38 +0000)]
Add another action test

Test that disabled actions aren't activated.

6 years agoaction muxer: Don't activate disabled actions
Matthias Clasen [Sun, 23 Jun 2019 01:19:19 +0000 (21:19 -0400)]
action muxer: Don't activate disabled actions

We really shouldn't.

6 years agoAdd another test for action inheritance
Matthias Clasen [Sat, 22 Jun 2019 23:30:22 +0000 (23:30 +0000)]
Add another test for action inheritance

This one checks for precedence between
class actions and inserted groups.

6 years agowidget: Clarify docs for action inheritance
Matthias Clasen [Sat, 22 Jun 2019 23:17:30 +0000 (19:17 -0400)]
widget: Clarify docs for action inheritance

Spell out how action inheritance works wrt to prefixes.

6 years agoAdd a test for action introspection
Matthias Clasen [Sat, 22 Jun 2019 23:11:49 +0000 (23:11 +0000)]
Add a test for action introspection

This checks that gtk_widget_query_action works.

6 years agoAdd another test for action inheritance
Matthias Clasen [Sat, 22 Jun 2019 23:00:42 +0000 (23:00 +0000)]
Add another test for action inheritance

Check that overlapping prefixes are handled
correctly.

6 years agoaction muxer: Change inheritance
Matthias Clasen [Sat, 22 Jun 2019 22:51:23 +0000 (22:51 +0000)]
action muxer: Change inheritance

Previously, we would not look any further for
an action once we found a match for the prefix,
defining inheritance by groups. Change this to
inheritance for individual actions, since we
are moving towards individual actions as the
main ingredient in GTKs action support.

6 years agoaction muxer: Remove unused api
Matthias Clasen [Sat, 22 Jun 2019 22:38:14 +0000 (22:38 +0000)]
action muxer: Remove unused api

6 years agotextview: Stop using action muxer needlessly
Matthias Clasen [Sat, 22 Jun 2019 22:34:26 +0000 (22:34 +0000)]
textview: Stop using action muxer needlessly

This lets us drop some private api.

6 years agowidget: Teach query_action about property actions
Matthias Clasen [Sat, 22 Jun 2019 20:42:45 +0000 (20:42 +0000)]
widget: Teach query_action about property actions

This might be useful for documentation purposes.

6 years agowidget: Rename a function
Matthias Clasen [Sat, 22 Jun 2019 20:31:46 +0000 (16:31 -0400)]
widget: Rename a function

set_enabled is shorter and more to the point
than enabled_changed, now that we no longer have
a callback to query the state.

Adapt all callers.

6 years agoReplace stateful actions by property actions
Matthias Clasen [Sat, 22 Jun 2019 20:18:05 +0000 (20:18 +0000)]
Replace stateful actions by property actions

The only cases of stateful actions we've seen
so far have been boolean properties, and we
don't really want to add much state handling
API, so lets just go with property actions
for now.

Adapt the only user in GtkText.

6 years agowidget: Add parameter type back to install_action
Matthias Clasen [Sat, 22 Jun 2019 18:24:46 +0000 (14:24 -0400)]
widget: Add parameter type back to install_action

Adapt all callers.

6 years agoGtkFileChooser: add a sortable "Type" column
Nelson Benítez León [Thu, 6 Jun 2019 23:02:11 +0000 (19:02 -0400)]
GtkFileChooser: add a sortable "Type" column

along with a new 'type-format' setting that allows
to choose the output format for the "Type" column.

The options implemented for this setting are:

'mime' : Output from g_content_type_get_mime_type().

'description' : Output from g_content_type_get_description().

'category' : It uses the corresponding generic icon
  of the mime type to group by categories (aka basic types).

  This produces a more compact output than previous options,
  and allows for type families to be grouped together, so eg.
  after sorting by "Type" column, jpeg and png images will
  be placed together, or the various types of archiver files
  will also be grouped together.

  This format was copied from and currently used by Nautilus
  list view, so we also improve consistency with Nautilus.
  Bugzilla entry for Nautilus implementation is:
  https://bugzilla.gnome.org/show_bug.cgi?id=683722

  The list of type families or categories can be checked on:
  https://developer.gnome.org/icon-naming-spec/#mimetypes

  This 'category' format is set as default.

Issue #362

6 years agocss: Fix some doc typos
Matthias Clasen [Sat, 22 Jun 2019 05:13:08 +0000 (01:13 -0400)]
css: Fix some doc typos

6 years agoAdd GTK_CSS_PARSER_WARNING_UNIMPLEMENTED
Matthias Clasen [Sat, 22 Jun 2019 05:12:27 +0000 (01:12 -0400)]
Add GTK_CSS_PARSER_WARNING_UNIMPLEMENTED

gtk-doc was complaining about it missing,
and it is used in some ifdefed code.

6 years agoAdd owner types for widget actions
Matthias Clasen [Sat, 22 Jun 2019 13:35:57 +0000 (09:35 -0400)]
Add owner types for widget actions

This lets us filter out actions from parent classes
when introspecting.

6 years agoMake actions minimally introspectable
Matthias Clasen [Sat, 22 Jun 2019 01:16:55 +0000 (01:16 +0000)]
Make actions minimally introspectable

This will let us autogenerate some docs for
actions, in the future.

6 years agowidget actions: Add an explicit state type
Matthias Clasen [Sat, 22 Jun 2019 02:35:52 +0000 (02:35 +0000)]
widget actions: Add an explicit state type

Make the state type part of the API for installing
stateful widget actions. That lets us introspect it.

Update all callers.

6 years agoapplication: Stop extracting accels from menus
Matthias Clasen [Sat, 22 Jun 2019 00:04:37 +0000 (00:04 +0000)]
application: Stop extracting accels from menus

This functionality has been superseded by
gtk_application_set_accels_for_action in GTK3,
and we don't want to carry it forward in GTK4.

6 years agoUpdate Croatian translation
Goran Vidović [Fri, 21 Jun 2019 23:38:11 +0000 (23:38 +0000)]
Update Croatian translation

6 years agoUpdate Croatian translation
Goran Vidović [Fri, 21 Jun 2019 22:40:38 +0000 (22:40 +0000)]
Update Croatian translation

6 years agoUpdate Croatian translation
Goran Vidović [Fri, 21 Jun 2019 22:06:32 +0000 (22:06 +0000)]
Update Croatian translation

6 years agoUpdate Croatian translation
Goran Vidović [Fri, 21 Jun 2019 11:17:40 +0000 (11:17 +0000)]
Update Croatian translation

6 years agoUpdate Croatian translation
Goran Vidović [Fri, 21 Jun 2019 10:49:10 +0000 (10:49 +0000)]
Update Croatian translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 21 Jun 2019 08:04:41 +0000 (10:04 +0200)]
Updated Spanish translation

6 years agoAdd a test for GtkText actions
Matthias Clasen [Fri, 21 Jun 2019 03:57:26 +0000 (03:57 +0000)]
Add a test for GtkText actions

Check that the class actions are there and work.

6 years agoAdd a test for gtk_widget_insert_action_group
Matthias Clasen [Fri, 21 Jun 2019 03:41:25 +0000 (03:41 +0000)]
Add a test for gtk_widget_insert_action_group

This tests that action group inheritance
behaves as expected.

6 years agowindow: Cosmetics
Matthias Clasen [Fri, 21 Jun 2019 02:55:27 +0000 (02:55 +0000)]
window: Cosmetics

6 years agoinspector: Fix actions visibility
Matthias Clasen [Wed, 19 Jun 2019 04:26:15 +0000 (04:26 +0000)]
inspector: Fix actions visibility

We need to always hide the page when setting
an object, otherwise the initial visibility
sticks.

6 years agoinspector: Use event controller names
Matthias Clasen [Wed, 19 Jun 2019 11:11:06 +0000 (11:11 +0000)]
inspector: Use event controller names

Use these in the same place we use widget names.

6 years agoevent controller: Add a name property
Matthias Clasen [Wed, 19 Jun 2019 11:09:38 +0000 (11:09 +0000)]
event controller: Add a name property

This helps identifying controllers in the inspector.

6 years agoBuild fix
Matthias Clasen [Fri, 21 Jun 2019 02:47:35 +0000 (22:47 -0400)]
Build fix

6 years agoFix initial mnemonic visibility
Matthias Clasen [Fri, 21 Jun 2019 02:26:04 +0000 (02:26 +0000)]
Fix initial mnemonic visibility

We were showing mnemonics initially, which is not desired.

6 years agomain: Move visible mnemonics handling
Matthias Clasen [Fri, 21 Jun 2019 02:22:26 +0000 (02:22 +0000)]
main: Move visible mnemonics handling

No need to special-case this anymore; we can use
a regular event controller in GtkWindow for this.

6 years agomain: Move visible focus handling
Matthias Clasen [Fri, 21 Jun 2019 01:57:51 +0000 (01:57 +0000)]
main: Move visible focus handling

No need to special-case this anymore; we can use
a regular event controller in GtkWindow for this.

6 years agoOverlay: Document overlay children aren't measured
Daniel Boles [Thu, 13 Jun 2019 17:22:33 +0000 (18:22 +0100)]
Overlay: Document overlay children aren't measured

Some users expect that the Overlay will automatically request enough
size for its overlay children as well as its main child. It doesn't,
because it's just a GtkBin. Add a short paragraph pointing that out.

Close https://gitlab.gnome.org/GNOME/gtk/issues/1939

6 years agoUpdate Greek translation
Efstathios Iosifidis [Thu, 20 Jun 2019 20:26:15 +0000 (20:26 +0000)]
Update Greek translation